package com.kekezu.kppw.dataprocess;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import android.content.Context;

import com.kekezu.kppw.data.ShopDetailData;

public class ShopDetailDP {
	/**
	 * 获取店铺详情信息
	 * 
	 * @param shopId
	 * @param context
	 * @return
	 */
	public static Map<String, String> getShopDetails(String shopId,
			Context context) {
		return ShopDetailData.getShopDetails(shopId, context);
	}

	// 没有店铺人的详情
	public static Map<String, String> getuserDetail(String uid, Context context) {
		return ShopDetailData.getuserDetail(uid, context);
	}

	public static ArrayList<HashMap<String, String>> getShopCate(String string) {
		return ShopDetailData.getShopCate(string);
	}

	/**
	 * 店铺详情的全部作品
	 * 
	 * @param strShopId
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getShopWork(
			String strShopId, int page, Context context) {
		return ShopDetailData.getShopWork(strShopId, page, context);
	}

	/**
	 * 店铺的全部服务
	 * 
	 * @param strShopId
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getShopService(
			String strShopId, int page, Context context) {
		return ShopDetailData.getShopService(strShopId, page, context);
	}

	/**
	 * 店铺的全部案例
	 * 
	 * @param strShopId
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getShopCase(
			String strShopId, int page, Context context) {
		return ShopDetailData.getShopCase(strShopId, page, context);
	}

	public static String collectStatus(String shopId, Context context) {
		return ShopDetailData.collectStatus(shopId, context);
	}

	/**
	 * 收藏店铺
	 * 
	 * @param shopId
	 * @param context
	 * @return
	 */
	public static int addShopFocus(String shopId, Context context) {
		return ShopDetailData.addShopFocus(shopId, context);
	}

	/**
	 * 删除收藏店铺
	 * 
	 * @param shopId
	 * @param context
	 * @return
	 */
	public static int delShopFocus(String shopId, Context context) {
		return ShopDetailData.delShopFocus(shopId, context);
	}

	//
	public static ArrayList<HashMap<String, String>> taskCommentList(
			String strId, String strType, Context context) {
		return ShopDetailData.taskCommentList(strId, strType, context);
	}

	public static Map<String, String> getShopEval(String shopId, int page,
			String strType, Context context) {
		return ShopDetailData.getShopEval(shopId, page, strType, context);
	}

	public static ArrayList<HashMap<String, String>> getShopEvalList(
			String string) {
		return ShopDetailData.getShopEvalList(string);
	}

}
